// kX Driver / kX Driver Interface / kX Driver Effects Library
// Copyright (c) Eugene Gavrilov and Max Mikhailov, 2001-2005.
// All rights reserved

/*
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program; if not, write to the Free Software
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 */

// 10kX microcode
// Patch name: 'chorus'

const char *chorus_name="Chorus";
int chorus_itramsize=1923,chorus_xtramsize=0;

const char *chorus_copyright="(c) Max Mikhailov and Eugene Gavrilov, 2001-2005";
const char *chorus_comment="$nobypass";
const char *chorus_created="2002";
const char *chorus_engine="kX";
const char *chorus_guid="995D7333-2CA7-4c92-B636-3CF889C10F50";

dsp_register_info chorus_info[]={
	{ "outfl",0x8000,0x8,0x45b,0x0 },
	{ "outfr",0x8001,0x8,0x45c,0x0 },
	{ "outrl",0x8002,0x8,0x45d,0x0 },
	{ "outrr",0x8003,0x8,0x45e,0x0 },
	{ "in",0x4000,0x7,0x2040,0x0 },
	{ "fxlevel",0x8004,0x4,0x45f,0x7fffffff },
	{ "feedback",0x8005,0x4,0x460,0xcccccccc },
	{ "depth",0x8006,0x4,0x461,0x2f800 },
	{ "modfreq",0x8007,0x4,0x462,0x20ae9 },
	{ "modtimel",0x8008,0x1,0x463,0x0 },
	{ "modtimer",0x8009,0x1,0x464,0x0 },
	{ "osc",0x800a,0x1,0x465,0x0 },
	{ "lfo",0x800b,0x1,0x466,0x0 },
	{ "_AC_800",0x800c,0x1,0x467,0x800 },
	{ "tx",0x800d,0x3,0x468,0x0 },
	{ "ty",0x800e,0x3,0x469,0x0 },
	{ "d",0x800f,0x49,0x214,0x0 },
	{ "&d",0x8010,0xb,0x314,0x0 },
	{ "dtfbck",0x8011,0x29,0x215,0x320 },
	{ "&dtfbck",0x8012,0xb,0x315,0x320 },
	{ "dtl0",0x8013,0x29,0x216,0x320 },
	{ "&dtl0",0x8014,0xb,0x316,0x320 },
	{ "dtl1",0x8015,0x29,0x217,0x320 },
	{ "&dtl1",0x8016,0xb,0x317,0x320 },
	{ "dtr0",0x8017,0x29,0x218,0x320 },
	{ "&dtr0",0x8018,0xb,0x318,0x320 },
	{ "dtr1",0x8019,0x29,0x219,0x320 },
	{ "&dtr1",0x801a,0xb,0x319,0x320 },
};

dsp_code chorus_code[]={
	{ 0x0,0x800d,0x2040,0x4000,0x8004 },
	{ 0x0,0x800f,0x800d,0x8011,0x8005 },
	{ 0x3,0x800a,0x800a,0x8007,0x204e },
	{ 0x9,0x800b,0x800a,0x800a,0x2040 },
	{ 0x4,0x800b,0x204e,0x800b,0x2042 },
	{ 0x5,0x800d,0x2040,0x8008,0x2055 },
	{ 0x5,0x800e,0x2040,0x8009,0x2055 },
	{ 0xe,0x8000,0x8013,0x800d,0x8015 },
	{ 0xe,0x800e,0x8017,0x800e,0x8019 },
	{ 0x1,0x8001,0x2040,0x800e,0x204f },
	{ 0xe,0x8002,0x8000,0x2054,0x8001 },
	{ 0xe,0x8003,0x8001,0x2054,0x8000 },
	{ 0x0,0x8008,0x8012,0x800b,0x8006 },
	{ 0x0,0x8014,0x8008,0x2040,0x2040 },
	{ 0x0,0x8016,0x8008,0x800c,0x204f },
	{ 0x1,0x8009,0x8012,0x800b,0x8006 },
	{ 0x0,0x8018,0x8009,0x2040,0x2040 },
	{ 0x0,0x801a,0x8009,0x800c,0x204f },
};
